const modulesFiles = require.context('./modules', true, /\.js$/)
const apis = {}

modulesFiles.keys().forEach(modulePath => {
  const value = modulesFiles(modulePath)
  Object.assign(apis, value)
})

export default apis
